Programming AWS Lambda by John Chapin

Programming AWS Lambda by John Chapin

Author:John Chapin
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2020-03-25T00:00:00+00:00


Unit Tests

At the base of the pyramid are unit tests—these tests should exercise specific pieces of our components of our application, without relying on any external dependencies (like databases). Unit tests should execute quickly, and we should be able to run them regularly (or even automatically) during the course of development, with a minimum of configuration and no network access. We should have as many unit tests as necessary to give us confidence that our code is working correctly. Unit tests not only cover the “happy paths,” but thoroughly address edge cases and error handling. Even a small application might have dozens or hundreds of unit tests.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.